from flask import Flask, request, render_template

# # 返回模板
app = Flask(__name__)
app.config.from_object('config.settings')
# 加载配置文件
# 测试和生产连接分开，要测那个用哪个
app.config.from_object('config.settings.DevSettings')
app.config.from_object('config.settings.ProdSettings')
@app.route('/tem')
def hello_world1():
    return render_template("login.html")
if __name__ == '__main__':
    app.run(debug=True)